module.exports = {
    presets: ['@vue/cli-plugin-babel/preset'],
    plugins: [
        [
            'component',
            {
                libraryName: 'element-ui',
                styleLibraryName: 'theme-chalk'
            }
        ],
        // 通过这个插件实现路由的懒加载
        '@babel/plugin-syntax-dynamic-import'
    ]
}